package com.rbac.modules.system.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
public class PermissionDTO {
    private Long id;
    
    private Long parentId;
    
    @NotBlank(message = "权限名称不能为空")
    private String permissionName;
    
    @NotBlank(message = "权限编码不能为空")
    private String permissionCode;
    
    @NotNull(message = "权限类型不能为空")
    private Integer permissionType;
    
    private Long menuId;
    
    private String path;
    
    private String component;
    
    private String icon;
    
    private Integer sort;
    
    private Integer status;
} 